package com.example.springboot01.el;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.io.IOException;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-04-30 15:47:57
 */
public class TestMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ElConfig.class);
        ElConfig bean = context.getBean(ElConfig.class);
        try {
            bean.outPutResources();
        } catch (IOException e) {
            e.printStackTrace();
        }
        context.close();
    }
}
